﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PrintTempleteForOrderPrint.ascx.cs"
    Inherits="UserControl_PrintTempleteForOrderPrint" %>
<asp:Panel ID="panelself" runat="server">
    <asp:Literal ID="lblHeader" runat="server"></asp:Literal>
    <table style="font-size: 12px;" width="645px">
        <tr>
            <td style="text-align: center; font-size: 16px; font-weight: bold;" colspan="5" height="19px">
                汇源集团<asp:Literal ID="lblORGNAME" runat="server"></asp:Literal>送货单
            </td>
        </tr>
        <tr>
            <td style="width: 30%; text-align: left" height="19px">
                订单号:
                <asp:Label ID="lblOrderNo" runat="server"></asp:Label>
            </td>
            <td colspan="2" style="text-align: left" height="19px">
                门店名称:
                <asp:Label ID="lblCustomerName" runat="server"></asp:Label>
            </td>
            <td colspan="2" style="text-align: left" height="19px">
                联系电话:
                <asp:Label ID="lblTel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 30%; text-align: left" height="19px">
                联系人:
                <asp:Label ID="lblContactPerson" runat="server"></asp:Label>
            </td>
            <td colspan="2" style="text-align: left" height="19px">
                业代及电话:
                <asp:Label ID="lblNameAndTel" runat="server"></asp:Label>
            </td>
            <td colspan="2" style="text-align: left" height="19px">
                订单日期:
                <asp:Label ID="lblOrderDate" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="text-align: left" colspan="3" height="19px">
                客户地址:<asp:Label ID="lblAddress" runat="server"></asp:Label>
            </td>
            <td colspan="2" style="text-align: left" height="19px">
                供应商:<asp:Label ID="lblSupply" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="5" style="margin: 0 0 0 0">
                <asp:GridView ID="gvChannelType" runat="server" AutoGenerateColumns="False" EmptyDataText="没有可显示的数据."
                    EmptyDataRowStyle-Font-Bold="true" EmptyDataRowStyle-HorizontalAlign="Center"
                    EnableEmptyContentRender="true" Font-Size="12px" BorderStyle="Solid" BorderColor="Black"
                    BorderWidth="1px" Width="645px">
                    <EmptyDataRowStyle HorizontalAlign="Center" Font-Bold="True"></EmptyDataRowStyle>
                    <Columns>
                        <asp:BoundField DataField="DESCRIPTION" HeaderText="产品名称">
                            <HeaderStyle Width="235" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle HorizontalAlign="Left" Wrap="true" BorderStyle="Solid" BorderColor="Black"
                                BorderWidth="1px" Height="19px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ORDERTYPE" HeaderText="类型">
                            <HeaderStyle BorderStyle="Solid" BorderColor="Black" BorderWidth="1px" Height="19px" />
                            <ItemStyle Width="48px" Wrap="False" HorizontalAlign="Center" BorderStyle="Solid"
                                Height="19px" BorderColor="Black" BorderWidth="1px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="UOM" HeaderText="单位">
                            <HeaderStyle Width="7px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle Width="7px" Wrap="true" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="QUANTITY_ORDERED" HeaderText="订单数量">
                            <HeaderStyle Width="27px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle Width="27px" HorizontalAlign="Center" BorderStyle="Solid" BorderColor="Black"
                                Height="19px" BorderWidth="1px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="REQ_DELIVERY_DATE" HeaderText="要货日期" DataFormatString="{0:MM-dd}">
                            <HeaderStyle Width="30px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle Width="30px" HorizontalAlign="Center" Wrap="False" BorderStyle="Solid"
                                Height="19px" BorderColor="Black" BorderWidth="1px" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="单价">
                            <HeaderStyle Width="30px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle Width="30px" HorizontalAlign="Right" BorderStyle="Solid" BorderColor="Black"
                                Height="19px" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="金额">
                            <HeaderStyle Width="48px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle Width="48px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="发货数量">
                            <HeaderStyle Width="30px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle Width="30px" HorizontalAlign="Right" BorderStyle="Solid" BorderColor="Black"
                                Height="19px" BorderWidth="1px" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="收货日期">
                            <HeaderStyle Width="30px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle Width="30px" Wrap="False" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="客户签字">
                            <HeaderStyle Width="30px" BorderStyle="Solid" BorderColor="Black" BorderWidth="1px"
                                Height="19px" />
                            <ItemStyle Width="30px" HorizontalAlign="Center" BorderStyle="Solid" BorderColor="Black"
                                Height="19px" BorderWidth="1px" />
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 20%; text-align: left; height: 19px">
                送货时间:
            </td>
            <td style="width: 20%; text-align: left; height: 19px">
                交单时间:
            </td>
            <td style="width: 20%; text-align: left; height: 19px">
                送货员:
            </td>
            <td style="width: 20%; text-align: left; height: 19px">
                司机:
            </td>
            <td style="width: 20%; text-align: left; height: 19px">
                财务:
            </td>
        </tr>
        <tr>
            <td colspan="5" align="right" height="19px">
            <div id='printbtn' style='text-align: center'><asp:Literal ID="lblPrintBtn" runat="server"></asp:Literal></div>
                页码:<asp:Literal ID="lblPager" runat="server"></asp:Literal>
            </td>
        </tr>
    </table>
    <asp:Literal ID="lblBottom" runat="server"></asp:Literal>
    
</asp:Panel>
